db.column References in the Order part of a query parse correctly.
#2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This query: SELECT
NovaLog.id,NovaLog.type,NovaLog.message,NovaLog.email_sent,NovaLog.hide,NovaLog.created,NovaLog.modifiedFROMmeridian-dc.nova_logsASNovaLogWHEREemail_sent= '1' ORDER BYNovaLog.createdDESC LIMIT 1Would not parse correctly. I did a quick fix that gets it parsing, but I didn't run the test suite yet. I don't have time to checkout the project, run the tests, etc... (My environment isn't setup for composer at the moment), but I wanted to send you the fix / make you aware of the problem.
Joey